<%@ page pageEncoding="UTF-8"%>
<%@ taglib prefix="cw" uri="/widget-tags"%>
<%
	String path = request.getContextPath();
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<meta http-equiv=Content-Type content="text/html; charset=UTF-8">
		<title>工具栏</title>
		<!-- ExtJS library: all widgets -->
		<cw:base></cw:base>
	</head>
	<body>
	<ul>
		<li>
			<b>工具栏，可包含普通按钮、菜单按钮、分隔符、表单控件</b>
		</li>
	</ul>
	<br />
	<br />
		<cw:toolBar id="bar1">
			<cw:button text="toolbar1" onclick="alert(1)" />
			<cw:itemSpilt></cw:itemSpilt>
			<cw:menuButton text="button" menu="menu1" onclick="" />
			<cw:menu id="menu1">
				<cw:menuItem text="aaa">
					<cw:menuItem text="bbb" />
				</cw:menuItem>
				<cw:menuItem text="ccc" />
			</cw:menu>
			<cw:combobox property="combo" data="[[1,'hello'],[2,'china']]" emptyText="请选择..." />
		</cw:toolBar>
	</body>
	<cw:theme></cw:theme>
</html>
